package com.group9.handinhand.service.so;

import com.group9.handinhand.dao.model.RequestPost;

/**
 * Class for service of request post
 *
 */
public class RequestPostSO extends PostSO {

	private RequestSO request;
	/**
	 * converts to request post model object
	 * @return
	 */
	public RequestPost convertToModelObject() {
		RequestPost model = (RequestPost) convert(new RequestPost());
		return model;
	}

	public RequestSO getRequest() {
		return request;
	}

	public void setRequest(RequestSO request) {
		this.request = request;
	}

	@Override
	public String toString() {
		return "RequestPostSO [request=" + request + "]";
	}
	
	
	
}
